From: Gniourf Date: Wed, 14 Feb 2018 12:51:22 +0000 (+0100) Subject: Fix annotation for gtk_tree_view_is_blank_at_pos() X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~37^2~66^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=3274f3a6ccb872f2670d051629efb8f0c55e6cd9;p=gtk%2B3.0.git Fix annotation for gtk_tree_view_is_blank_at_pos() The annotation (allow-none) is wrong. Since gtk_tree_view_is_blank_at_pos() also calls gtk_tree_view_get_path_at_pos(), the same fields should have the same annotations. --- diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 28165420fd..758e3e2168 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -14123,10 +14123,14 @@ gtk_tree_view_get_visible_range (GtkTreeView *tree_view, * @tree_view: A #GtkTreeView * @x: The x position to be identified (relative to bin_window) * @y: The y position to be identified (relative to bin_window) - * @path: (out) (allow-none): A pointer to a #GtkTreePath pointer to be filled in, or %NULL - * @column: (out) (allow-none): A pointer to a #GtkTreeViewColumn pointer to be filled in, or %NULL - * @cell_x: (out) (allow-none): A pointer where the X coordinate relative to the cell can be placed, or %NULL - * @cell_y: (out) (allow-none): A pointer where the Y coordinate relative to the cell can be placed, or %NULL + * @path: (out) (optional) (nullable): A pointer to a #GtkTreePath pointer to + * be filled in, or %NULL + * @column: (out) (transfer none) (optional) (nullable): A pointer to a + * #GtkTreeViewColumn pointer to be filled in, or %NULL + * @cell_x: (out) (optional): A pointer where the X coordinate relative to the + * cell can be placed, or %NULL + * @cell_y: (out) (optional): A pointer where the Y coordinate relative to the + * cell can be placed, or %NULL * * Determine whether the point (@x, @y) in @tree_view is blank, that is no * cell content nor an expander arrow is drawn at the location. If so, the